<%@ page import="com.itheima.el.Student" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.HashMap" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head>
    <title>$Title$</title>
</head>
<body>
<%
    pageContext.setAttribute("score", "A");
%>
<c:if test="${score eq 'A'}">
    优秀
</c:if>
<c:choose>
    <c:when test="${score eq 'B'}">
        良好
    </c:when>
    <c:when test="${score eq 'C'}">
        一般
    </c:when>
    <c:otherwise>
        错误
    </c:otherwise>

</c:choose>
<%--<c:forEach items="${score eq 'C'}">--%>
<%--    --%>
<%--</c:forEach>--%>
</body>
</html>
